package yxy.game.pm2.module.union.rank;

import yxy.game.pm2.bean.area.AreaBean;
import yxy.game.pm2.bean.module.rank.AreaRankModule;

//按区排名
public abstract class UnionAreaRankModule extends AreaRankModule {

	public UnionAreaRankModule(AreaBean areaBean) {
		super(areaBean);
		initInfo();
	}

	@Override
	protected String rankKey() {
		return String.format("UNIONRANK:AREA:%s:%s", getAreaId(), rankName());
	}

	@Override
	public int topSize() {
		return 50;
	}

}
